package org.ricks.ioc.event;

import org.ricks.ioc.scheduler.CronExpression;

public class CronEvent implements IEvent {

    private final CronExpression cronExpression;

    public CronEvent(String cron) {
        this.cronExpression = new CronExpression(cron);
    }

    public CronExpression getCronExpression() {
        return cronExpression;
    }
}
